<template>
   
      <el-button
        v-on="$listeners"
        v-bind="$attrs"
        v-if="permission"
      >
        <slot></slot>
      </el-button>
</template>

<script>
export default {
    name: "JvButton",
    props:{
      IsFlag:{
        type:Number,
        default:''
      }
    },
    computed:{
      permission(){
        let arr = [11]
        console.log(this.IsFlag===11,5566)
       let IsShow= arr.includes(this.IsFlag)
        console.log(IsShow,5566)
        return IsShow
      }
    }
}
</script>

<style scoped>

</style>
